package com.hdax.dm.entity.item;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dm_item_comment")
public class ItemComment {

  @TableId(value = "id",type = IdType.AUTO)
  private Long id;
  private Long itemId;
  private Long userId;
  private Double score;
  private String content;
  private LocalDateTime createdTime;
  private LocalDateTime updatedTime;


}
